<template>
	<view>
		<view @click="clickuser">用户信息</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			clickuser(){
				uni.removeTabBarBadge({
					index:2
				})
			}
		},
		onLoad() {
			uni.setTabBarBadge({
				index:2,
				text:"3"
			}),
			uni.showTabBarRedDot({
				index:1
			})
		}
	}
</script>

<style lang="scss">

</style>
